<table width="100%" height="100%" cellpadding="0" cellspacing="0">
	<tr>
		{*<td width="250" valign="top">
			{include file='admin/header/tree/lang_select.html'}
			<iframe src="index.php?admin=1&lang={$data.tree.lng.cur}&show=tree&page_id={if $data.tree.parent>0 }{$data.tree.parent}{else}0{/if}&selected={$data.page.id}&id={$data.page.id}" id="tree" style="border:1px solid #C8CFD3; width:100%;" height="93%"  frameborder="0" scrolling="yes"></iframe>
			
		</td>
		<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>*}
		<td valign="top">
		{include file='admin/header/path.html'}
		{if !$data.denied}			
			<table width="100%" cellpadding="0" cellspacing="0">
				<tr>
					<td height="2" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				</tr>
				<tr>
					<td height="20"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
				<tr>
					<td height="2" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				</tr>
			</table>
			<form name="search_in_tree" action="index.php" enctype="multipart/form-data" method="post">
			<input name="admin" type="hidden" value="1">
			<input name="mod" type="hidden" value="search_in_tree">
			<input name="referer" type="hidden" value="{ext->get_referer}">
			<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F8F9F9">	
				<tr>
					<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					<td width="25%" height="25" class="defaultFormLabel">{t t='search01'}</td>
					<td valign="middle"><input type="text" name="query" value="{if $data.search_in_tree.query}{$data.search_in_tree.query|escape:"html"}{/if}"  class="defaultInputText"></td>	
					<td width="150"><input onClick="doSubmit('search_in_tree'); return false;" type="button" value="{t t='search01'}" class="defaultFormButton" style="margin:10px "></td>	
				</tr>
			</table>
			</form>
			<table width="100%" cellpadding="0" cellspacing="0">
				<tr>
					<td height="2" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				</tr>
				<tr>
					<td height="20"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
				</tr>
			</table>
			<table width="100%" cellpadding="0" cellspacing="0" border="6" bordercolor="#DBE1E5" bgcolor="#DBE1E5">
				<tr>
					<td>
						<table width="100%" cellpadding="0" cellspacing="0">
							<tr>
								<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
							</tr>
							<tr>
								<td height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
							</tr>	
						</table>
						{if $data.search_in_tree}
							{if $data.search_in_tree.result}
								{ext->countArray array=$data.search_in_tree.result assign="ar_counter"}
								{if $ar_counter > 0}
									<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
										<tr>
											<td style="font-size:9px; color:#4C4C4C; text-align:left; padding:0px 0px 0px 10px">{t t='Pavadinimas'}</td>	
											<td align="right">
											<table cellpadding="0" cellspacing="0">
												<tr>
													<td height="20" width="140" style="border-left:1px solid #D6DBDE; text-align:left; padding:0px 0px 0px 10px;">{t t='Tipas'}</td>
													<td height="20" width="70" style="border-left:1px solid #D6DBDE; text-align:center">{t t='Būsena'}</td>				
												</tr>
											</table>
											</td>
										</tr>
									</table>
									<table width="100%" cellpadding="0" cellspacing="0">
										<tr>
											<td height="1" bgcolor="#D6DBDE"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
										</tr>
									</table>
									{foreach from=$data.search_in_tree.result item="el"}
										<table width="100%" cellpadding="0" cellspacing="0">
											<tr>
												<td height="1" bgcolor="#FFFFFF"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
											</tr>
										</table>
										{strip}<table width="100%" cellpadding="0" cellspacing="0" bgcolor=
										"{if $el.type=='secure_folder01'}
											{if !$el.hide}#FFF2EA{else}#FFD1D1{/if}
										{else}
											{if !$el.hide}#FDFDFD{else}#F4F6F7{/if}
										{/if}"
										>{/strip}
											<tr>
												<td style="padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE; height:22px;"><a href="index.php?admin=1&id={$el.id}&body=admin/body/content.htm" class="blackNoUnderline" {if !$el.hide}style="color:#989898"{/if}><strong>{$el.name|truncate:"80"}</strong></a></td>
												<td style="padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE" width="140" >{t t=$el.type}</td>
												<td align="center" width="70"><img src="_tvs_system_core_/design/img/admin/_status_{$el.hide}.gif"></td>
											</tr>
										</table>
										<table width="100%" cellpadding="0" cellspacing="0">
											<tr>
												<td height="1" bgcolor="#D6DBDE"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
											</tr>
										</table>
									{/foreach}
								{else}
									<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
										<tr>
											<td style="height:25px;" align="center">{t t="Nerasta...1"}</td>
										</tr>
									</table>
								{/if}
							{else}
								<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
									<tr>
										<td style="height:25px;" align="center">{t t="Nerasta...2"}</td>
									</tr>
								</table>
							{/if}
						{else}
							<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
								<tr>
									<td style="height:25px;" align="center">{t t="Paieškos rezultatai"}</td>
								</tr>
							</table>
						{/if}
						<table width="100%" cellpadding="0" cellspacing="0">
							<tr>
								<td height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
							</tr>	
							<tr>
								<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		{else}
			{include file="admin/body/acess_denied.htm"}
		{/if}
		</td>
	</tr>
</table>
